package com.lanou.service;

import com.lanou.utils.AjaxResult;
import org.apache.ibatis.annotations.Param;

/**
 * Created by dllo on 18/3/12.
 */
public interface ProductService {
    AjaxResult selectOneProduct(Integer id);
    AjaxResult pageSelectAllResult(Integer pageNum, Integer pageSize,Integer id);
    AjaxResult pageSelectByStateResult(Integer proStateId,Integer pageNum, Integer pageSize,Integer companyId);

    void insertUserDemand(String pUserName,String pPhone,String pCity,
                          String pDecorateTime,String pArea, String pProductType,String pAddress);

    AjaxResult getUserComments(Integer company_id);

    AjaxResult selectConstructPhoto(@Param("productId")Integer productId);

}
